#
# Dockerizing CentOS7: Dockerfile for building CentOS images
#
FROM       centos:centos7.1.1503
MAINTAINER Jason Ye <24042354@qq.com>

ENV TZ "Asia/Shanghai"
ENV TERM xterm

ADD CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
ADD epel.repo /etc/yum.repos.d/epel.repo
ADD resolv.conf /etc/resolv.conf

RUN yum install -y curl
#RUN yum install -y curl wget tar bzip2 unzip vim-enhanced passwd sudo yum-utils hostname net-tools rsync man 
#RUN yum install -y gcc gcc-c++ git make automake cmake patch logrotate python-devel libpng-devel libjpeg-devel
#RUN yum install -y --enablerepo=epel pwgen python-pip && \
#RUN yum clean all

#RUN pip install supervisor
#ADD supervisord.conf /etc/supervisord.conf

#RUN mkdir -p /etc/supervisor.conf.d && \
#    mkdir -p /var/log/supervisor

EXPOSE 22

#ENTRYPOINT ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
